---
title: Application.ClearConstraint Method (Project)
keywords: vbapj.chm1514
f1_keywords:
- vbapj.chm1514
ms.prod: project-server
api_name:
- Project.Application.ClearConstraint
ms.assetid: 7a6e9e98-0f0d-6fdd-61b2-c13cdb0cbd7a
ms.date: 06/08/2017
---


# Application.ClearConstraint Method (Project)

Clears the constraint on a specified task.


## Syntax

 _expression_. **ClearConstraint**( ** _TaskID_** )

 _expression_ An expression that returns an **Application** object.


### Parameters



|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _TaskID_|Required|**Long**|Identification number of the task.|

### Return Value

 **Boolean**


